package com.macro.mall.vo;

import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Id;

import java.util.Date;

public class OdrOrderFlowLog {
    @Id
    private Long orderFlowId;

    /**
     * 订单ID
     */
    @ApiModelProperty(notes = "订单ID",required = true,example = "",position = 1)
    private String orderId;

    /**
     * 000-待支付、001-已取消、002-待服务、003-服务中、004-已完成、005-已退款
     */
    @ApiModelProperty(notes = "前置状态 000-待支付、001-已取消、002-待服务、003-服务中、004-已完成、005-已退款",required = true,example = "",position = 1)
    private String preStatus;

    /**
     * 000-待支付、001-已取消、002-待服务、003-服务中、004-已完成、005-已退款
     */
    @ApiModelProperty(notes = "目标状态 000-待支付、001-已取消、002-待服务、003-服务中、004-已完成、005-已退款",required = true,example = "",position = 1)
    private String targetStatus;

    /**
     * 订单流转时间
     */
    @ApiModelProperty(notes = "订单流转时间",required = true,example = "",position = 1)
    private Date flowTime;

    /**
     * 订单流转备注说明
     */
    @ApiModelProperty(notes = "订单流转备注说明",required = true,example = "",position = 1)
    private String remark;

    @ApiModelProperty(notes = "用户id",required = false,example = "",position = 8)
    private String userId;
    @ApiModelProperty(notes = "用户名称",required = false,example = "",position = 9)
    private String userName;


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * @return order_flow_id
     */
    public Long getOrderFlowId() {
        return orderFlowId;
    }

    /**
     * @param orderFlowId
     */
    public void setOrderFlowId(Long orderFlowId) {
        this.orderFlowId = orderFlowId;
    }

    /**
     * 获取订单ID
     *
     * @return order_id - 订单ID
     */
    public String getOrderId() {
        return orderId;
    }

    /**
     * 设置订单ID
     *
     * @param orderId 订单ID
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取000-待支付、001-已取消、002-待服务、003-服务中、004-已完成、005-已退款
     *
     * @return pre_status - 000-待支付、001-已取消、002-待服务、003-服务中、004-已完成、005-已退款
     */
    public String getPreStatus() {
        return preStatus;
    }

    /**
     * 设置000-待支付、001-已取消、002-待服务、003-服务中、004-已完成、005-已退款
     *
     * @param preStatus 000-待支付、001-已取消、002-待服务、003-服务中、004-已完成、005-已退款
     */
    public void setPreStatus(String preStatus) {
        this.preStatus = preStatus;
    }

    /**
     * 获取000-待支付、001-已取消、002-待服务、003-服务中、004-已完成、005-已退款
     *
     * @return target_status - 000-待支付、001-已取消、002-待服务、003-服务中、004-已完成、005-已退款
     */
    public String getTargetStatus() {
        return targetStatus;
    }

    /**
     * 设置000-待支付、001-已取消、002-待服务、003-服务中、004-已完成、005-已退款
     *
     * @param targetStatus 000-待支付、001-已取消、002-待服务、003-服务中、004-已完成、005-已退款
     */
    public void setTargetStatus(String targetStatus) {
        this.targetStatus = targetStatus;
    }

    /**
     * 获取订单流转时间
     *
     * @return flow_time - 订单流转时间
     */
    public Date getFlowTime() {
        return flowTime;
    }

    /**
     * 设置订单流转时间
     *
     * @param flowTime 订单流转时间
     */
    public void setFlowTime(Date flowTime) {
        this.flowTime = flowTime;
    }

    /**
     * 获取订单流转备注说明
     *
     * @return remark - 订单流转备注说明
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置订单流转备注说明
     *
     * @param remark 订单流转备注说明
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }
}